QuillBooking\REST_API\Controllers\V1\REST_Event_Controller D

Total Complexity 135
Dependencies 13
Dependents 1
Total lines 1,351
Lines of code 988
Logical lines of code 440
Comment lines 230
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
create_item()
C
30 21 118
update_item()
B
31 18 114
register_routes()
A
29
1 211
get_items()
A
45 12 34
get_latest_events()
A
45 10 37
update_event_host_availability()
A
44 9 47
handle_availability_update()
A
55 9 17
get_item_schema()
A
34 1 130
get_item()
A
46 7 36
delete_items()
S
53 5 21
update_item_availability()
S
50 4 27
get_meta()
S
54 4 20
update_event_team_availability()
S
54 4 20
delete_item()
S
51 3 26
update_fields()
S
53 3 22
duplicate_item()
S
53 3 21
get_item_range()
S
56 3 17
disable_item()
S
56 3 17
get_fields()
S
58 3 14
get_items_permissions_check()
S
79 2 3
get_item_permissions_check()
S
75 2 4
update_item_permissions_check()
S
75 2 4
delete_item_permissions_check()
S
75 2 4
prepare_event_for_response()
S
60 1 14
create_item_permissions_check()
S
76 1 4
delete_items_permissions_check()
S
80 1 3
duplicate_item_permissions_check()
S
80 1 3